package com.ddm.dto.webDTO;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class MarketSpDTO {
    private String key;
    /**
     * 当前页码
     */
    private Long page;
    /**
     * 每页记录数
     */
    private Long pageSize;
    private long id;
    @ApiModelProperty(value = "标题")
    @JsonProperty("sdTitle")
    private String sdTitle;

    @ApiModelProperty(value = "价格")
    @JsonProperty("sdPrice")
    private String sdPrice;

    @ApiModelProperty(value = "数量")
    @JsonProperty("sdCount")
    private String sdCount;

    @ApiModelProperty(value = "链接")
    @JsonProperty("sdUrl")
    private String sdUrl;

    @ApiModelProperty(value = "电话")
    @JsonProperty("sdPhone")
    private String sdPhone;

    @ApiModelProperty(value = "发布人")
    @JsonProperty("sdMan")
    private String sdMan;

    @ApiModelProperty(value = "图片")
    @JsonProperty("sdImg")
    private String sdImg;

    @ApiModelProperty(value = "发布日期")
    @JsonProperty("sdPublishDate")
    private LocalDateTime sdPublishDate;

    @ApiModelProperty(value = "用户ID")
    @JsonProperty("userId")
    private long userId;

    @ApiModelProperty(value = "审核状态")
    @JsonProperty("status")
    private String status;//0未通过，1通过

    @ApiModelProperty(value = "审核信息")
    @JsonProperty("statusMessage")
    private String statusMessage;

    @JsonProperty("sdType")
    private String sdType;

    @ApiModelProperty(value = "摘要")
    @JsonProperty("sdAbstract")
    private String sdAbstract;

    @ApiModelProperty(value = "单位")
    @JsonProperty("standard")
    private String standard;
}
